<template>
  <div>
    <p>孙子组件</p>
    <button @click="handleClick">点击</button>
  </div>
</template>

<script>
export default {
  name: '',
  props: {},
  data() {
    return {};
  },
  components: {},
  created() {
    console.log('孙子：', this.$attrs);
  },
  methods: {
    handleClick() {
      this.$listeners.currentName('孙子');
    },
  },
};
</script>

<style scoped lang='less'>
</style>
